export interface ResponseType<T = any> {
	code: number
	message: string
	data: T
}

// 列表类型
export interface ListItemType {
	name: string
	address: string
	tel: string
	id: string
	state: string
	tips: string
}

// 添加列表类型
export interface ListItemAddType {
	name: string
	state: string
	address: string
	tips: string
	tel: string
}


// 路由类型
export interface RouteType {
	path: string
	element?: JSX.Element,
	children?: RouteType[],
	meta?: {
		permission_id?: string
		title?: string
	}
}